Как правило разработчики делятся на два типа, те кто поддерживают исключения и те кто за ручную обработку ошибок.
🎯 Exception team: • Чистый код без проверок на каждом шаге • RAII + exceptions = идеальное сочетание • Стандартный C++ подход • Exception safety гарантии
📋 Error codes army:
• Предсказуемая производительность • Нет hidden control flow • Embedded-friendly • std::expected в C++23 спасет мир
GOOGLE STYLE: Exceptions запрещены, только error codes!
РЕАЛЬНОСТЬ: В высоко нагруженных приложениях exceptions = смерть, в обычном коде — удобство.
А ты из какого лагеря? И сколько раз ловил std::bad_alloc в production?
Как правило разработчики делятся на два типа, те кто поддерживают исключения и те кто за ручную обработку ошибок.
🎯 Exception team: • Чистый код без проверок на каждом шаге • RAII + exceptions = идеальное сочетание • Стандартный C++ подход • Exception safety гарантии
📋 Error codes army:
• Предсказуемая производительность • Нет hidden control flow • Embedded-friendly • std::expected в C++23 спасет мир
GOOGLE STYLE: Exceptions запрещены, только error codes!
РЕАЛЬНОСТЬ: В высоко нагруженных приложениях exceptions = смерть, в обычном коде — удобство.
А ты из какого лагеря? И сколько раз ловил std::bad_alloc в production?
Start with a fresh view of investing strategy. The combination of risks and fads this quarter looks to be topping. That means the future is ready to move in.Likely, there will not be a wholesale shift. Company actions will aim to benefit from economic growth, inflationary pressures and a return of market-determined interest rates. In turn, all of that should drive the stock market and investment returns higher.
The seemingly negative pandemic effects and resource/product shortages are encouraging and allowing organizations to innovate and change.The news of cash-rich organizations getting ready for the post-Covid growth economy is a sign of more than capital spending plans. Cash provides a cushion for risk-taking and a tool for growth.
Библиотека C C разработчика | cpp boost qt from ar